statusicon: use absolute delta to find the nearest icon size
authorFernando Lemos <fernandotcl@gmail.com>
Tue, 15 May 2012 14:28:37 +0000 (10:28 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 15 May 2012 14:34:28 +0000 (10:34 -0400)
commitc8378099600e4279cb5c608b546bbe778c451233
treec0591f256c4473ad11ecba172705c9fc5de5b3b1
parent54fe6d71c0e73d6f8993dd16ddecec0b879eaaea
statusicon: use absolute delta to find the nearest icon size

Otherwise, if we only look at (pixel_size - stock_size), we miss the
case when the pixel size is smaller than any provided stock size.

https://bugzilla.gnome.org/show_bug.cgi?id=673749
gtk/gtkstatusicon.c